package com.match.competition_sub.service.impl;

import com.match.competition_sub.entity.StudentNumberGroutid;
import com.match.competition_sub.mapper.StudentNumberGroutidMapper;
import com.match.competition_sub.service.StudentNumberGroutidService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author AdiosF
 * @since 2021-11-08
 */
@Service
public class StudentNumberGroutidServiceImpl extends ServiceImpl<StudentNumberGroutidMapper, StudentNumberGroutid> implements StudentNumberGroutidService {

    /**
     * 更新学生认证学分
     * @param groutId
     * @param affirmCredit
     * @return
     */
    @Override
    public Boolean updateStudentCredit(String groutId, String affirmCredit) {
        Boolean result=baseMapper.updataStudentCredits(groutId,affirmCredit);
        return result;
    }
}
